package com.cwk.yygh.hosp.service;


import com.cwk.yygh.model.hosp.Schedule;
import com.cwk.yygh.vo.hosp.ScheduleOrderVo;
import com.cwk.yygh.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {

    void save(Map<String, Object> paramMap);

    Page<Schedule> findSchedule(Integer page, Integer limit, ScheduleQueryVo scheduleQueryVo);

    void removeSchedule(String hosScheduleId, String hoscode);

    Map<String,Object> getScheduleRule(long page, long limit, String hoscode, String depcode);

    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);

    Map<String,Object> getBookingScheduleRule(Integer page, Integer limit, String hoscode, String depcode);

    Schedule  getById(String scheduleId);

    ScheduleOrderVo getScheduleOrderVo(String scheduleId);
    //用于mq 更新排班信息
    void update(Schedule schedule);
}
